package com.test.touch;

import com.handinfo.engine.AbstractGameScreen;

public class TouchDefines {
	public static final int SOFT_KEY_W = 95;
	public static final int SOFT_KEY_H = 35;

	public static final int[] getLeftSoftRect() {
		return new int[] { 0, AbstractGameScreen.SCREEN_HEIGHT - SOFT_KEY_H,
				SOFT_KEY_W, SOFT_KEY_H };
	}

	public static final int[] getRightSoftRect() {
		return new int[] { AbstractGameScreen.SCREEN_WIDTH - SOFT_KEY_W,
				AbstractGameScreen.SCREEN_HEIGHT - SOFT_KEY_H, SOFT_KEY_W,
				SOFT_KEY_H };
	}

	public static final int[] getInputText(int x, int y) {
		return new int[] {x, y, 240, 25};
	}

	public static final int[] getLoginBtn(int x, int y) {
		return new int[]{x, y, 72, 25};
	}
}
